package com.bwie.kanjia.dao;

import com.bwie.kanjia.entity.KeepEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 
 * 
 * @author ÕÔË«Ò¶
 * @email 1535715783@qq.com
 * @date 2022-03-07 20:38:40
 */
@Mapper
public interface KeepDao extends BaseMapper<KeepEntity> {

    Integer selectByUidAndAid(@Param("userId") Long userId, Integer actId);

    KeepEntity getKeepByUA(@Param("userId") Long userId, @Param("actId") Integer actId);
}
